package com.snail.service.impl;


import com.snail.mapper.OrderMapper;
import com.snail.service.OrderService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * Created by m on 2020/5/31.
 *
 * @author mandao
 */
@Service
public class OrderServiceImpl implements OrderService {
    private static Logger log = LoggerFactory.getLogger(OrderServiceImpl.class);

    @Autowired
    private OrderMapper orderMapper;

    @Override
    public Map<String,String> queryOrder(Integer id) {
        return orderMapper.selectOrder(id);
    }
}
